Shunt flow detection